package com.business.exam.domain;

import com.business.common.annotation.Excel;
import com.business.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 题库对象 exam_qb_questions
 *
 * @author zhanglele
 * @date 2023-12-04
 */
public class ExamQbQuestions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题库id */
    private Long qbMainId;

    /** 顺序号 */
    @Excel(name = "顺序号")
    private Long orderNum;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String name;

    /** 题库分类 */
    @Excel(name = "题库分类")
    private Long categoryId;

    /** 题库状态 */
    @Excel(name = "题库状态")
    private String status;

    /** 题库描述 */
    @Excel(name = "题库描述")
    private String desc;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setQbMainId(Long qbMainId)
    {
        this.qbMainId = qbMainId;
    }

    public Long getQbMainId()
    {
        return qbMainId;
    }
    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getDesc()
    {
        return desc;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("qbMainId", getQbMainId())
            .append("orderNum", getOrderNum())
            .append("name", getName())
            .append("categoryId", getCategoryId())
            .append("status", getStatus())
            .append("desc", getDesc())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
